package org.dashboard.bean;

public class WSDERBYDashBoardProxy implements org.dashboard.bean.WSDERBYDashBoard {
  private String _endpoint = null;
  private org.dashboard.bean.WSDERBYDashBoard wSDERBYDashBoard = null;
  
  public WSDERBYDashBoardProxy() {
    _initWSDERBYDashBoardProxy();
  }
  
  public WSDERBYDashBoardProxy(String endpoint) {
    _endpoint = endpoint;
    _initWSDERBYDashBoardProxy();
  }
  
  private void _initWSDERBYDashBoardProxy() {
    try {
      wSDERBYDashBoard = (new org.dashboard.bean.WSDERBYDashBoardServiceLocator()).getWSDERBYDashBoard();
      if (wSDERBYDashBoard != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)wSDERBYDashBoard)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)wSDERBYDashBoard)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (wSDERBYDashBoard != null)
      ((javax.xml.rpc.Stub)wSDERBYDashBoard)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public org.dashboard.bean.WSDERBYDashBoard getWSDERBYDashBoard() {
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    return wSDERBYDashBoard;
  }
  
  public void insertText(java.lang.String component, java.lang.String text, java.lang.String namekey) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.insertText(component, text, namekey);
  }
  
  public void deleteText(int id) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.deleteText(id);
  }
  
  public void updateText(java.lang.String component, java.lang.String text, java.lang.String namekey) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.updateText(component, text, namekey);
  }
  
  public java.lang.String[] queryText(java.lang.String fieldName) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    return wSDERBYDashBoard.queryText(fieldName);
  }
  
  public int selectQTD() throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    return wSDERBYDashBoard.selectQTD();
  }
  
  public void insertCOORD(java.lang.String coord_X, java.lang.String coord_Y, java.lang.String namekey) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.insertCOORD(coord_X, coord_Y, namekey);
  }
  
  public void updateCOORD(java.lang.String coord_X, java.lang.String coord_Y, java.lang.String namekey) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.updateCOORD(coord_X, coord_Y, namekey);
  }
  
  public void deleteCOORD(int id) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    wSDERBYDashBoard.deleteCOORD(id);
  }
  
  public java.lang.String[] queryCOORD(java.lang.String fieldName) throws java.rmi.RemoteException{
    if (wSDERBYDashBoard == null)
      _initWSDERBYDashBoardProxy();
    return wSDERBYDashBoard.queryCOORD(fieldName);
  }
  
  
}